package net.maku.custom.biza.service.reveiveable;

import java.util.List;
import javax.servlet.http.HttpServletResponse;
import net.maku.custom.biza.controller.reveiveable.query.ReceivablesQuery;
import net.maku.custom.biza.controller.reveiveable.vo.ReceivablesVO;
import net.maku.custom.biza.pojo.reveiveable.ReceivablesEntity;
import net.maku.framework.common.page.PageResult;
import net.maku.framework.common.service.BaseService;

/**
 * 应收款
 *
 * @author NULL
 * @since 1.0.0 2022-07-12
 */
public interface ReceivablesService extends BaseService<ReceivablesEntity> {

    PageResult<ReceivablesVO> page(ReceivablesQuery query);

    ReceivablesVO selectById(Long id);

    void save(ReceivablesVO vo);

    void update(ReceivablesVO vo);

    void delete(List<Long> idList);

    void downloadInvoice(HttpServletResponse response, List<Long> idList);
}